<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>编辑用户</title>
  </head>
  <body>
	<div class="pageContent">
		<form method="post" action="<%=path %>/mobileUpdate/saveMobileUpdate.action" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
			<div class="pageFormContent" layoutH="56">
				<input name="mobileUpdateVO.id" type="hidden" value="<s:property value="mobileUpdateVO.id" />" />

				<p>
					<label>下载地址：</label>
					<input name="mobileUpdateVO.verAddress" value="<s:property value="mobileUpdateVO.verAddress" />" class="required" type="text" size="30" alt="请输入下载地址"/>
				</p>
				<p>
					<label>版本号：</label>
					<input name="mobileUpdateVO.verCode" value="<s:property value="mobileUpdateVO.verCode" />" class="required" type="text" size="30" alt="请输入版本编码"/>
				</p>
				<p>
					<label>版本大小：</label>
					<input name="mobileUpdateVO.verSize" value="<s:property value="mobileUpdateVO.verSize" />" class="required" type="text" size="30" alt="请输入版本大小"/>
				</p>
				<div class="divider" style="border:0;"></div>
				<fieldset>
						<dl class="nowrap">
							<dt>版本更新内容：</dt>
							<dd>
							<textarea class="textInput" rows="2" cols="80" name="mobileUpdateVO.verText" style="width: 510px; height: 80px;"><s:property value="mobileUpdateVO.verText" /></textarea>
							</dd>
						</dl>
					</fieldset>
				<p>
					<label>是否强制更新：</label>
					<s:select name="mobileUpdateVO.isForceUpgrade"
					list="%{#{1:'是',0:'否'}}" listKey="key" listValue="value" ></s:select>
				</p>
				<p>
					<label>客户端类型：</label>
					<input name="mobileUpdateVO.clientType" value="<s:property value="mobileUpdateVO.clientType" />" class="required" type="text" size="30" alt="请输入客户端类型"/>
				</p>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
					</li>
				</ul>
			</div>
		</form>
	</div>
  </body>
</html>